package C622;

/**
 * @program: javase
 * @description:
 * @author: luolidong
 * @create: 2021-06-25 22:44
 * @version: 1.0
 */
public class B extends A {

    @Override
    public void m1() {
        int a=1;
        if(a!=1){

       throw new RuntimeException();
        }
    }

    @Override
    public void m2() {
        super.m2();
    }

    public static void main(String[] args) {
        B b = new B();
        b.m1();
    }
}
